#
for src in arm core h264 isp v3d uart pwm emmc pixel vec hdmi dpi ; do \
    echo -e "$src:\t$(/opt/vc/bin/vcgencmd measure_clock $src)" ; \
done
for id in core sdram_c sdram_i sdram_p ; do \
    echo -e "$id:\t$(/opt/vc/bin/vcgencmd measure_volts $id)" ; \
done
/opt/vc/bin/vcgencmd measure_temp
for codec in H264 MPG2 WVC1 MPG4 MJPG WMV9 VP8 VP6; do \
    echo -e "$codec:\t$(/opt/vc/bin/vcgencmd codec_enabled $codec)" ; \
done
/opt/vc/bin/vcgencmd get_config int
/opt/vc/bin/vcgencmd get_mem arm && /opt/vc/bin/vcgencmd get_mem gpu
/opt/vc/bin/vcgencmd version

